package com.cloud.service.impl;

import com.cloud.dao.SamplingInfoDao;
import com.cloud.pojo.SamplingInfo;
import com.cloud.service.SamplingInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Tangtao
 * @Date: 2022/4/20 18:49
 * @Description: Nucleic acid reagent service layer implementation class
 * @ClassName: SamplingInfoServiceImpl
 */
@Service
public class SamplingInfoServiceImpl implements SamplingInfoService {



    @Resource
    private SamplingInfoDao samplingInfoDao;

    @Override
    public boolean saveSampleInfo(SamplingInfo samplingInfo) {
        return this.samplingInfoDao.saveSampleInfo(samplingInfo) == 1;
    }
}
